package com.xcx.dto;

import com.xcx.common.dto.base.BaseReq;
import com.xcx.common.utils.StringUtils;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class QuerySoundListReq extends BaseReq {


    /**
     * 录音时间
     */
    private String time;


    @Override
    public String validate() {
        String result = super.validate();
        if (StringUtils.isNotBlank(result)) {
            return result;
        }
        if (StringUtils.isBlank(time)) {
            return "录音时间";
        }
        return null;
    }

}
